package com.zyh.service.impl;

import com.zyh.dao.IStudentDao;
import com.zyh.dao.IUserDao;
import com.zyh.domain.Student;
import com.zyh.service.IStudentService;
import lombok.AllArgsConstructor;

import java.util.Collections;
import java.util.List;

/**
 * @author cyrus
 */
@AllArgsConstructor
public class StudentServiceImpl implements IStudentService {
    private final IStudentDao studentDao;

    @Override
    public List<Student> findAll() {
        return studentDao.findAll();
    }
}
